/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package JUNIT4_tests;


public class Rectangle extends Square{
     
    int b;
    
    public Rectangle(int a, int b) {
        super(a);
        this.b = b;
        
    }

    public int getB() {
        return b;
    }

    public void setB(int b) {
        this.b = b;
    }

   public int getField1(){
   return this.b*super.getSize();
   }
    
}
